//
//  LevelSelectLayer.h
//  SpeedTap
//
//  Created by Chi Ho Chiu on 20/8/11.
//  Copyright 2011 Individual. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "cocos2d.h"

@protocol LevelSelectLayerDelegate
-(void) onBackSelected;
-(void) onLevelSelected:(int)iLevel;
@end

typedef enum
{
    kLEVEL_SELECT_TAG_BACK = 101,
	kLEVEL_SELECT_TAG_GUGU = 102,
	kLEVEL_SELECT_TAG_HONG_KONG = 1,
	kLEVEL_SELECT_TAG_TAIWAN = 2,
	kLEVEL_SELECT_TAG_JAPAN = 3,
	kLEVEL_SELECT_TAG_KOREA = 4,
	kLEVEL_SELECT_TAG_CHINA = 5

} ELevelSelectTag;

@interface GuGuSprite : CCSprite 
{
@public	
    ELevelSelectTag currentLocationTag;
}
@property (assign) ELevelSelectTag currentLocationTag;
@end

@interface LevelSelectLayer : CCLayer 
{
    id delegate;
}

-(void) onMenuItemClicked:(CCMenuItem *)sender;
-(void) startMovement:(ELevelSelectTag)destination;
-(void) finishedMoving:(id)sender;

@property (assign) id<LevelSelectLayerDelegate> delegate;

@end
